d319edba28d0fbf24b58525bff3cc5bd04dc934f,spring-web-reactive/src/test/java/org/springframework/web/reactive/method/annotation/RequestMappingHandlerMappingTests.java,RequestMappingHandlerMappingTests,method,#,64
Before Change
assertEquals(TestController.class.getMethod("postFoo"), handler.getMethod());
request = new MockServerHttpRequest(HttpMethod.GET, "foo");
handler = (HandlerMethod) this.mapping.getHandler(request);
assertEquals(TestController.class.getMethod("getFoo"), handler.getMethod());
}
After Change
assertEquals(TestController.class.getMethod("postFoo"), handlerMethod.getMethod());
request = new MockServerHttpRequest(HttpMethod.GET, "foo");
handlerPublisher = this.mapping.getHandler(request);
handlerMethod = toHandlerMethod(handlerPublisher);
assertEquals(TestController.class.getMethod("getFoo"), handlerMethod.getMethod());
}